<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../org/angular.min.js"></script>
</head>
<body ng-app="hd">
<div ng-controller="ctrl">
    <select ng-options="v.value as v.name for v in data" ng-model="city">
        <option value="">请选择城市</option>
    </select>

</div>


<script>
    var m = angular.module('hd', []);
    m.controller('ctrl', ['$scope', function ($scope) {
        $scope.city='beijing';
        $scope.data=[
            {name:'后盾网', value:'houdenwang'},
            {name:'北京', value:'beijing'},
            {name:'南京', value:'nanjing'}
        ];
    }]);

</script>
</body>
</html>